package cn.csq;

import java.util.concurrent.Callable;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * @author <a href="mailto:csq02198031@alibaba-inc.com">chengshanqing</a>
 * @date 2025/9/24 11:37
 */
public class ThreadNewTest {
}




class ThreadNew1 extends Thread{

    @Override
    public void run() {
        System.out.println("true = " + true);
    }
}

class ThreadNew2 implements Callable<Integer>{

    @Override
    public Integer call() throws Exception {
        return 0;
    }
}
class ThreadNew3 implements Runnable{

    @Override
    public void run() {

    }
}

class ThreadNew4 {

    public static void main(String[] args) {
//        new ThreadPoolExecutor();
        Executors.newCachedThreadPool();
    }
}
